/**
 * 
 */
package com.teamall.web.family.service;

import java.util.List;

import com.teamall.core.common.Page;
import com.teamall.framework.exception.BaseAppException;
import com.teamall.web.family.db.po.FamilyHelpPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.teamall.web.family.service <br>
 */

public interface IFamilyHelpService {

    FamilyHelpPO selectByPrimaryKey(Integer key) throws BaseAppException;

    List<FamilyHelpPO> selectByArg(FamilyHelpPO record) throws BaseAppException;

    Page<FamilyHelpPO> selectByArgAndPage(FamilyHelpPO record, Page<FamilyHelpPO> resultPage)
            throws BaseAppException;

    int  add(FamilyHelpPO record) throws BaseAppException;

    int update(FamilyHelpPO record) throws BaseAppException;

    int delete(FamilyHelpPO record) throws BaseAppException;

    Integer selectByUser(Integer userObjType,Integer userObjId,FamilyHelpPO po,Page<FamilyHelpPO> resultPage)  throws BaseAppException;

}
